import java.io.IOException;
import java.net.ServerSocket;
import java.net.Socket;

public class Accepter extends Thread {

	public void run() {
		try {
			ServerSocket server = new ServerSocket(80);
			while (true) {
				Socket accept = server.accept();
				Worker worker = new Worker(accept);
				worker.start();
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
